<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
    <title>后台管理</title>
	<link type="text/css" rel="stylesheet" href="css/admin_common.css"/>
	<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>
	<script src="js/admin_base.js" type="text/javascript"></script>
	<script type="text/javascript" language="javascript" src="js/YY_dialog.js"></script>
</head>
<body>
<div id="page_ctn">
	<div id="page_title_ctn">
        <div id="page_title">
            <div class="site_logo"></div>
            <div class="user_info_ctn">
            	Welcome 管理员!&nbsp;
				<a href="javascript:void(0);">退出</a>
			</div>
            <ul id="page_tab_list"><li class="c"><a href="index.html">首页</a></li><li><a href="list.html">会员</a></li></ul>
        </div>
    </div>
	<button id="show_list"></button>
	<div id="page_left_menu">
		<h3>系统菜单<a id="menu_trigger" class="expand" href="javascript:void(0);">展开</a></h3>
		<button id="hide_list"></button>
		<ul id="page_menu">
			<li class="c">
            	<a class="p"><span>登录主页</span></a>
                <b>
					<a href="index.html">后台主页</a>
				</b>
            </li>
			<li class="c">
            	<a class="p"><span>会员管理</span></a>
                <b>
					<a href="list.html">会员列表</a>
					<a href="detail.html">注册会员</a>
				</b>
            </li>
			<li class="c">
            	<a class="p"><span>产品管理</span></a>
                <b>
					<a href="list2.html">产品列表</a>
				</b>
            </li>
			<li class="c">
            	<a class="p"><span>分类管理</span></a>
                <b>
					<a class="c" href="detail2.html">添加分类</a>
				</b>
            </li>
			<li class="c">
            	<a class="p"><span>系统管理</span></a>
                <b>
					<a href="javascript:void(0);">系统设置</a>
				</b>
            </li>
		</ul>
    </div>
	<div id="page_right_content_ctn">
		<h3><a>分类管理</a> &gt;&gt; 添加分类</h3>
		<div class="result_table_ctn">
			<div class="tab_ctn">
				<ul class="result_tab_list">
					<li class="c"><a href="javascript:void(0);">添加分类</a></li>
				</ul>
			</div>
			<form class="validation_form" name="theForm" action="" method="post">
				<table class="detail">
					<tbody>
						<tr>
							<th width="200">分类名称	：</th>
							<td width="300" class="val"><input type="text" tip="请填写品牌名称" reg="required" value="" name="brand_name"/><span class="require-field">*</span></td>
							<td></td>
						</tr>
						<tr>
							<th>英文名称：</th>
							<td class="val"><input type="text" value="" name="en_brand_name"></td>
							<td></td>
						</tr>
						<tr>
							<th>汉字首字母(大写)：</th>
							<td class="val"><input type="text" tip="汉字首字母(大写)" reg="required" value="" maxlength="1" name="first_alphabet"/><span class="require-field">*</span></td>
							<td></td>
						</tr>
						<tr>
							<th>排序：</th>
							<td class="val"><input type="text" value="50" name="sort_order"></td>
							<td></td>
						</tr>
						<tr>
							<th>是否推荐：</th>
							<td class="val">
								<span class="shop_ctn_width"><input type="radio" checked="checked" style="border:0; width:auto; height:auto;" value="1" name="is_recommend"/>&nbsp;是</span>&nbsp;&nbsp;<span class="shop_ctn_width"><input type="radio" style="border:0; width:auto; height:auto;" value="0" name="is_recommend"/>&nbsp;否</span>
							</td>
							<td></td>
						</tr>
						<tr>
							<th>分类描述：</th>
							<td class="val"><textarea style="width:350px; height:100px;" name="brand_desc"></textarea></td>
							<td></td>
						</tr>
					</tbody>
				</table>
				<div class="record_action_ctn"><p class="center"><button type="submit">提交</button><button type="reset">重置</button></p></div>
		    </form>
		</div>
		<div class="clear"></div>
	</div>
</div>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
	$('#page_menu li>a').click(function(){
		$(this).parent('li').toggleClass('c');
	});
	$('#page_menu li b a').click(function(){
		$(this).toggleClass('c');
	});
	$('.record_search input').focus(function(){
		$(this).prev().hide();
	}).blur(function(){
		if ($(this).val()=='')$(this).prev().show();
	});
	$('#menu_trigger').click(function(){
		if ($(this).hasClass('merge')){
			$(this).attr('class','expand').html('展开');
			$('#page_menu li').removeClass('c');
		}else{
			$(this).attr('class','merge').html('收起');
			$('#page_menu li').addClass('c');
		}
	});
	$('.result_tab_list li,#page_tab_list li').click(function(){$(this).siblings('li').removeClass('c').end().addClass('c');});
	$('.multiple_action .select_all').live('click',function(){$('.result_table_ctn table input[type="checkbox"]').attr('checked','checked');});
	$('.multiple_action .unselect').live('click',function(){$('.result_table_ctn table input[type="checkbox"]').each(function(){if ($(this).attr('checked'))$(this).removeAttr('checked');else $(this).attr('checked','checked');});});
});
</script>
</body>
</html>